import request from '@/utils/request'

export function getList(data: any) {
  return request({
    url: '/admin/order_list',
    method: 'post',
    data,
  })
}

export function getInfo(data: any) {
  return request({
    url: '/admin/order_detail',
    method: 'post',
    data,
  })
}

export function doEdit(data: any) {
  return request({
    url: '/admin/change_status',
    method: 'post',
    data,
  })
}

export function getMethodList(data: any) {
  return request({
    url: '/admin/goods_method_list',
    method: 'post',
    data,
  })
}

export function doMethodDelete(data: any) {
  return request({
    url: '/admin/goods_method_del',
    method: 'post',
    data,
  })
}
